package com.example.peibei.ui.adapter;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.dingtao.common.bean.WeekTimeBean;
import com.dingtao.common.util.GlideUtils;
import com.example.peibei.R;

import java.util.List;

public class EditOrderImgsAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public EditOrderImgsAdapter(@Nullable List<String> data) {
        super(R.layout.item_edit_imgs, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        ImageView iv_img_one = helper.getView(R.id.iv_img_one);
        GlideUtils.loadImg(getContext(), item, 20, iv_img_one);
    }
}
